import request from '@/utils/request'
export function login(data) {
  return request({
    url: 'sys/login',
    method: 'POST',
    data
  })
}
export function setUser() {
  return request({
    url: '/sys/profile',
    method: 'POST'
  })
}
export function getUserId(id) {
  return request({
    url: 'sys/user/' + id,
    method: 'GET'
  })
}
export function getInfo(token) {
}
export function logout() {
}
